package lab02.test06;

public class Circle {
    double P=3.1415926;
    private double radiis;
    private double perimeter;
    private double area;

    public Circle(){

    }

    public Circle(double radius,double perimeter,double area){
        this.area=area;
        this.perimeter=perimeter;
        this.radiis=radiis;
    }

    public double getRadii() {
        return radiis;
    }

    public void setRadii(double radii) {
        this.radiis = radii;
    }

    public double getPerimeter(double radii) {
        perimeter=2*radii*P;
        return perimeter;
    }

    public void setPerimeter(double perimeter) {
        this.perimeter = perimeter;
    }

    public double getArea(double radiii) {
        area=P *radiis*radiis;
        return area;
    }

    public void setArea(double area) {
        this.area = area;
    }
}
